Page({
    data: {
    bannerList: [
      { "imgurl": "https://www.lygtc.edu.cn/images/xiying20da-B.jpg" },
      { "imgurl": "https://www.lygtc.edu.cn/images/0224-XO.jpg" },
      { "imgurl": "https://www.lygtc.edu.cn/images/banners.jpg" },
      { "imgurl": "https://www.lygtc.edu.cn/images/202108181853288326ke.jpg" }]
    },

    toExam() {
        let url = "/pages/homepage/exam/exam";
        wx.navigateTo({
          url: url,
          fail() {
              wx.showToast({
                title: '跳转失败',
              })
          }
        })
    }

})